Ordering enumerated type

Hi,

i have very silly request. I need to order in alphabetic order  the enumerated values of an attribute type, without any impact on the objects in the module.

If i use the "modify" instruction i loose all the previous assignation in the module's objects. My only idea is to create a temporary attribute, copying the values and restore the values after the "modify"instruction


bungle_77 - Thu May 22 08:49:13 EDT 2014

Re: Ordering enumerated type
Tony_Goodman - Thu May 22 10:23:05 EDT 2014

Manually reorder the entries using the GUI.

If the attribute appears in multiple modules, then use the copyAttrPlus script to copy and update the other modules.

 See https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014778619&ps=25

 

Re: Ordering enumerated type
bungle_77 - Thu May 22 11:07:12 EDT 2014

Tony_Goodman - Thu May 22 10:23:05 EDT 2014

Manually reorder the entries using the GUI.

If the attribute appears in multiple modules, then use the copyAttrPlus script to copy and update the other modules.

 See https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014778619&ps=25

 

i can't do it manually i need a script for it

 

maybe this thread help me https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014264093&ps=25